<meta charset="UTF-8">
<h2 class="view-title">资源详情</h2>
<form class="layui-form layui-form-pane" action="" id="resourceViewForm" lay-filter="resourceViewForm">
	<input type="hidden" name="id"/>
	<div class="layui-form-item">
		<label class="layui-form-label">父资源</label>
		<div class="layui-input-block">
			<input type="hidden" name="parentId"/>
			<input type="text" name="parentName" placeholder="父资源" autocomplete="off" disabled="disabled" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">资源名称</label>
		<div class="layui-input-block">
			<input type="text" name="name" rootedit="false" placeholder="资源名称" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">权限key</label>
		<div class="layui-input-block">
			<input type="text" name="authKey" update="disabled" placeholder="权限key" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">资源类型</label>
		<div class="layui-input-block">
			<select name="type" lay-filter="resourceType" rootedit="false">
				
			</select>
		</div>
	</div>
	<div class="layui-form-item layui-form-text" platform="false" request="false" rauth="false">
		<label class="layui-form-label">菜单图标</label>
		<div class="layui-input-block" lay-filter="resourceIcon">
		
		</div>
	</div>
	<div class="layui-form-item" platform="false" folder="false" rauth="false">
		<label class="layui-form-label">地址/请求</label>
		<div class="layui-input-block">
			<input type="text" name="url" rootedit="false" placeholder="功能界面" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item" platform="false" folder="false" create="false" pane>
		<label class="layui-form-label">入参控制</label>
		<div class="layui-input-block">
			<input type="checkbox" name="openInput" rootedit="false" lay-skin="switch" lay-filter="switchOpenInput" title="ON|OFF">
		</div>
	</div>
	<div class="layui-form-item" platform="false" folder="false" pane lay-filter="inputTableList" style="display: none;">
		<label class="layui-form-label">参数配置</label>
		<div class="layui-input-block">
			<table class="unswift-edit-list layui-table" lay-skin="nob">
				<colgroup>
					<col>
					<col>
					<col>
					<col>
				</colgroup>
				<thead>
					<tr>
						<th>
							<i class="layui-icon layui-icon-addition font18 icon-button color-blue" onclick="$.module.currModule.addInputRow(this)" title="增加入参"></i>
							<i class="layui-icon layui-icon-add-circle font18 icon-button color-blue" onclick="$.module.currModule.addAllInputRow(this)" title="增加所有入参"></i>
						</th>
						<th>参数</th>
						<th>取值类型</th>
						<th>取值</th>
					</tr>
				</thead>
				<tbody>
					<tr lay-filter="inputRowModel" style="display: none;">
						<td align="center"><i class="layui-icon layui-icon-subtraction font20 icon-button font-weight-border color-red" onclick="$.module.currModule.deleteInputRow(this)"></i></td>
						<td><select list-name="paramKey" list-text="paramComment"></select></td>
						<td><select list-name="valueSource" lay-filter="valueSource"></select></td>
						<td list-td="valueTd"><input type="text" list-name="value" placeholder="取值" autocomplete="off" class="layui-input"/></td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
	<div class="layui-form-item" platform="false" folder="false" create="false" pane>
		<label class="layui-form-label">出参控制</label>
		<div class="layui-input-block">
			<input type="checkbox" name="openOutput" lay-skin="switch" lay-filter="switchOpenOutput" title="ON|OFF">
		</div>
	</div>
	<div class="layui-form-item" platform="false" folder="false" pane lay-filter="outputTableList" style="display: none;">
		<label class="layui-form-label">参数配置</label>
		<div class="layui-input-block">
			<table class="unswift-edit-list layui-table" lay-skin="nob">
				<colgroup>
					<col>
					<col>
				</colgroup>
				<thead>
					<tr>
						<th>
							<i class="layui-icon layui-icon-addition font18 icon-button color-blue" onclick="$.module.currModule.addOutputRow(this)" title="增加入参"></i>
							<i class="layui-icon layui-icon-add-circle font18 icon-button color-blue" onclick="$.module.currModule.addAllOutputRow(this)" title="增加所有入参"></i>
						</th>
						<th>参数</th>
					</tr>
				</thead>
				<tbody>
					<tr lay-filter="outputRowModel" style="display: none;">
						<td align="center"><i class="layui-icon layui-icon-subtraction font20 icon-button font-weight-border color-red" onclick="$.module.currModule.deleteOutputRow(this)"></i></td>
						<td><select list-name="fieldName" list-text="fieldComment"></select></td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">顺序</label>
		<div class="layui-input-block">
			<input type="text" name="sort" rootedit="false" placeholder="顺序" autocomplete="off" class="layui-input">
		</div>
	</div>
</form>